﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Validation;
using Microsoft.Practices.EnterpriseLibrary.Validation.Validators;
namespace DTO
{
    public class DICHVUCollection : List<DICHVU>
    { 
        
    }
    public class DICHVU
    {

        private long MaDichVu;
        public long MADICHVU
        {
            get { return MaDichVu; }
            set { MaDichVu = value; }
        }
        private String TenDichVu;
        [NotNullValidator(MessageTemplate="Tên dịch vụ không thể trống!")]
        public String TENDICHVU
        {
            get { return TenDichVu; }
            set { TenDichVu = value; }
        }
        public DICHVU()
        { }
        public DICHVU(long pmadichvu, String ptendichvu)
        {
            this.MaDichVu = pmadichvu;
            this.TenDichVu = ptendichvu;
        }
    }
}
